#include <QtGui>
#include <X11/Xlib.h>

#include "ControlBoard.h"
#include "Debug.h"

int
main( int argc, char *argv[] )
{
	/* Always call XinitThreads in the beginning
	 * when you are writing a multithread X11 program. */
	if(!XInitThreads()){
		DebugMsg::errMsgOut(DBG_LV_FATAL, "main",
				"Fail to initialize X threads!");
		return -1;
	}

	QApplication app(argc, argv);
	ControlBoard control;
	control.show();

	return app.exec();
}
